package com.cw.jeeyt.dao.model.security;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 用户信息Do
 *
 * @author chenw
 * @date 2020-03-18 20:05:22
 */
@Table(name = "security_user")
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SecurityUserDo extends SecurityUserKeyDo implements Serializable {
    private static final long serialVersionUID = 1240247925858656258L;
    /** 用户名称 */
    @Column(name = "username")
    private String username;
    /** 用户密码 */
    @Column(name = "password")
    private String password;
    /** 账号 */
    @Column(name = "account")
    private String account;
    /** 手机号 */
    @Column(name = "mobile")
    private String mobile;
    /** 电话号码 */
    @Column(name = "telephone")
    private String telephone;
    /** 状态 */
    @Column(name = "status")
    private String status;
    /** 说明 */
    @Column(name = "comment")
    private String comment;
    /**
     * 用户状态
     */
    @Column(name = "user_state")
    private Boolean userState;
    /**
     * 性别
     */
    @Column(name = "sex")
    private String sex;
    /**
     * 职位
     */
    @Column(name = "position")
    private String position;
    /**
     * 邮箱
     */
    @Column(name = "email")
    private String email;
    /**
     * 类型
     */
    @Column(name = "type")
    private String type;
    /**
     * 扩展
     */
    @Column(name = "extend")
    private String extend;
    /**
     *
     */
    @Column(name = "default_org_id")
    private Long defaultOrgId;
    /** 创建人 */
    @Column(name = "create_by")
    private Long createBy;
    /** 创建时间 */
    @Column(name = "create_date")
    private java.util.Date createDate;
    /** 修改人 */
    @Column(name = "update_by")
    private Long updateBy;
    /** 修改时间 */
    @Column(name = "update_date")
    private java.util.Date updateDate;
    /**
     *
     */
    @Column(name = "account_non_expired")
    private Boolean accountNonExpired;
    /**
     *
     */
    @Column(name = "account_non_locked")
    private Boolean accountNonLocked;
    /**
     *
     */
    @Column(name = "credentials_non_expired")
    private Boolean credentialsNonExpired;
    /**
     *
     */
    @Column(name = "enabled")
    private Boolean enabled;
}
